package com.swu.cx.kotlinmodule.jvm;

public class TestStr {
    public static void main(String[] args) {
        String a = "abc";
        String b = "abc";
        System.out.println(a == b);

        String c = new String("abc").intern();
        System.out.println(c == a);

        String d = new String("abc").intern();
        System.out.println(c == d);
    }
}
